package com.aiti.lulian.entity.newCard;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * description: 名片的组件数据
 * auth fcb
 * date 2025-08-28 15:52
 **/
@Data
@TableName("card_component_data")
public class CardComponentData {

    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @TableId(value = "base_id",type = IdType.INPUT)
    private String baseId ;

    /** 企业名片id */
    @ApiModelProperty(name = "企业名片id",notes = "")
    @TableField(value = "card_id")
    private String cardId ;

    /** 模板中的组件的id */
    @ApiModelProperty(name = "模板中的组件的id",notes = "")
    @TableField(value = "template_component_id")
    private String templateComponentId ;

    /** 组件数据 */
    @ApiModelProperty(name = "组件数据",notes = "")
    @TableField(value = "component_meta_data")
    private String componentMetaData ;

    /** 组件排序 */
    @ApiModelProperty(name = "组件排序",notes = "")
    @TableField(value = "sort")
    private Integer sort ;
}
